<?php
/**
 * Project: Recipe
 * File: SetDietaryNeedsModel.class.php
 * Author: Xnfy520@gmail.com
 * Date: 12-4-21
 * Time: 下午5:56
 */

class SetDietaryNeedsModel extends Model{

	protected $_validate = array(
		array('name', 'require', '饮食需要名称不能为空', 1, 'regex', 3),
		array('sort', 'number', '排序必须为数字', 1, 'regex', 3),
	);

}